package com.codedancer.campus.client.api.dynamic.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import lombok.Data;

@Data
@ApiModel(description = "悄悄话发布Ro")
public class WhisperPublishRo {

    @ApiModelProperty("圈子uuid")
    @NotEmpty(message = "请选择圈子")
    private String circleUuid;

    @ApiModelProperty("内容")
    @NotEmpty(message = "请输入内容")
    private String content;

    @ApiModelProperty("板块uuid")
    @NotEmpty(message = "板块为空")
    private String plateUuid;

    @ApiModelProperty("是否开启评论")
    @NotNull(message = "请选择是否开启评论")
    private Boolean isOpenComment;

    @ApiModelProperty("图片")
    private List<String> imageUrls;

    @ApiModelProperty("圈子标签")
    private List<String> labels;

    @ApiModelProperty("是否隐藏")
    @NotNull(message = "请选择是否隐藏")
    private Boolean isHide;

    @ApiModelProperty("是否同步到自由广场")
    @NotNull(message = "请选择是否同步到自由广场")
    private Boolean isSyncLibertySquare;
}
